package com.cx.service.czw;

import com.cx.vo.UserDetailPageInfo;
import com.cx.vo.UserReceivePageInfo;
import com.cx.vo.UserSendPageInfo;
import java.util.List;


public interface UserPageInfoService {
    //查找所有收到的快递
    List<UserReceivePageInfo> selectReceivePageInfo(String phone);
    //查找所有寄过的快递
    List<UserSendPageInfo> selectSendPageInfo(String phone);
    //根据快递编号查找收到的快递信息
    List<UserReceivePageInfo> selectReceivePageInfoByPageNum(String phone , String pageNum);
    //根据快递编号查找寄过的快递信息
    List<UserSendPageInfo> selectSendPageInfoByPageNum(String phone , String pageNum);
    //根据寄件人手机号查找收到的快递信息
    List<UserReceivePageInfo> selectReceivePageInfoBySendPhone(String phone , String sendPhone);
    //根据收件人手机号查找寄过的快递信息
    List<UserSendPageInfo> selectSendPageInfoByReceivePhone(String phone , String receivePhone);
    //点击查询快递详细信息
    UserDetailPageInfo selectUserDetailPageInfo(Integer pageNum);
    //查所有快递信息
    List<UserDetailPageInfo> selectAllPageInfo();
    //已取消快递 的删除 delete
    int deleteCancelPage(Integer pageNum);
    //已下单快递 的取消 update
    int cancelOrderPage(Integer pageNum);
    /**
     * 根据条件查询快递
     */
    //根据快递编号
    List<UserDetailPageInfo> selectPageByPageNum(Integer pageNum);
    //根据收件人电话
    List<UserDetailPageInfo> selectPageByReceivePhone(String receivePhone);
    //根据收件人姓名
    List<UserDetailPageInfo> selectPageByReceiveName(String receiveName);
}
